e74c4cfbb42531b8732eeec2cab1c127a8782431,subprojects/platform-native/src/main/groovy/org/gradle/nativeplatform/internal/configure/NativeBinaries.java,NativeBinaries,createNativeBinaries,#NativeComponentSpec#ModelMap#NativeDependencyResolver#BinaryNamingSchemeBuilder#NativePlatform#BuildType#Flavor#,40
Before Change
Flavor flavor
) {
if (component instanceof NativeLibrarySpec) {
createNativeBinary(SharedLibraryBinarySpec.class, binaries, resolver, namingScheme.withTypeString("SharedLibrary").build(), platform, buildType, flavor);
createNativeBinary(StaticLibraryBinarySpec.class, binaries, resolver, namingScheme.withTypeString("StaticLibrary").build(), platform, buildType, flavor);
} else {
createNativeBinary(NativeExecutableBinarySpec.class, binaries, resolver, namingScheme.withTypeString("Executable").build(), platform, buildType, flavor);
After Change
Flavor flavor
) {
if (component instanceof NativeLibrarySpec) {
createNativeBinary(SharedLibraryBinarySpec.class, binaries, resolver, namingScheme.withRole("SharedLibrary"), platform, buildType, flavor);
createNativeBinary(StaticLibraryBinarySpec.class, binaries, resolver, namingScheme.withRole("StaticLibrary"), platform, buildType, flavor);
} else {
createNativeBinary(NativeExecutableBinarySpec.class, binaries, resolver, namingScheme.withRole("Executable"), platform, buildType, flavor);